package com.jy.bo.common.conf.enums;

/**
 * @program: binary-option
 * @description
 * @author: frank
 * @create: 2020-08-19 18:28
 **/
public enum  InvitationTypeEnum {

    INVITE_FRIENDS(0, "invite_friends"),
    OTHER(1, "other");

    InvitationTypeEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    private Integer code;
    private String name;

    public Integer getCode() {
        return code;
    }

    public InvitationTypeEnum setCode(Integer code) {
        this.code = code;
        return this;
    }

    public String getName() {
        return name;
    }

    public InvitationTypeEnum setName(String name) {
        this.name = name;
        return this;
    }
}
